package com.movie.demo.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.movie.demo.mapper.PictureMapper;
import com.movie.demo.pojo.Picture;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PictureService  extends ServiceImpl<PictureMapper, Picture> implements com.movie.demo.service.PictureService  {
    @Override
    public List<Picture> SelectPicture(int mid) {
        List<Picture> pictures=this.selectList(new EntityWrapper<Picture>().eq("mid",mid));
        return pictures;
    }
}
